package cn.edu.lzu.service.impl;

import cn.edu.lzu.dao.ProfessionalTitleMapper;
import cn.edu.lzu.entity.ProfessionalTitle;
import cn.edu.lzu.service.ProfessionalTitleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @PackageName: cn.edu.lzu.service.impl
 * @ClassName: ProfessionalTitleServiceImpl
 * @Description: TODO
 * @Author: 张琦[QQ:3098086691]
 * @Date: 2019/12/2 21:14
 * @Version: 1.0
 */
@Service
public class ProfessionalTitleServiceImpl implements ProfessionalTitleService {
    @Resource
    private ProfessionalTitleMapper professionalTitleMapper;

    @Override
    public List<ProfessionalTitle> selectAllProfessionalTypes() {
        return professionalTitleMapper.selAllProfessionalTypes();
    }

    @Override
    public List<ProfessionalTitle> selectProfessionalTitlesByType(String professionalType) {
        return professionalTitleMapper.selProfessionalTitlesByType(professionalType);
    }

}
